import axios from './http'
export default {
    querySwiper() {
        return axios.get('/api/data')
    },
    //登录接口
    login(params) {
        console.log('OK')
        return axios.post('/api/login', params)
    },
    register(params) {
        return axios.post('/api/register', params)
    }
}